package com.mrzhou.system.req;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author qiang.zhou
 */
@Getter
@Setter
@ToString
public class EditRoleMenuReq {

    @NotNull(message = "权限id不能为空")
    private Long roleId;

    @NotEmpty(message = "菜单列表不能为空")
    private List<Long> menus;

}
